package com.shop.cereshop.agent.param.voucher;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * @description: TODO
 * @author lx
 * @date 2025/11/18 14:50
 * @version 1.0
 */
@Data
@ApiModel(value = "BuyVoucherDTO", description = "用户购买代金券参数")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PickVoucherDTO {

    /**
     * 用户id
     */
    @ApiModelProperty(value = "用户id 业务字段不需要传")
    private Long agentUserId;

    /**
     * 代理城市收费标准id
     */
    @ApiModelProperty(value = "代理城市收费标准id", required = true)
    @NotNull
    private Long feeId;

    /**
     * 代理金额
     */
    @ApiModelProperty(value = "代理金额")
    private BigDecimal agentFee;

    /**
     * 代理城市
     */
    @ApiModelProperty(value = "代理城市", required = true)
    @NotNull
    private String cityName;

    /**
     * 代理城市编码
     */
    @ApiModelProperty(value = "代理城市编码", required = true)
    @NotNull
    private String cityCode;
}
